import java.util.Locale;
import java.util.ResourceBundle;

import javax.swing.JFrame;
import javax.swing.UIManager;

import domein.DomeinController;

import ui.ConsoleInterface;
import ui.gui.KiesSpelbord;

public class StartUp {

	public static void main(String[] args) {
		if(args.length == 0 || args[0].equals("c")) {
			ConsoleInterface consoleInterface = new ConsoleInterface();
			consoleInterface.start();
		}
		else if(args[0].equals("gui")) {
			try {
			    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		    } 
		    catch (Exception e) {
		       
		    }
			
			KiesSpelbord kiesSpelbord = new KiesSpelbord(ResourceBundle.getBundle("Labels"));
			kiesSpelbord.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		}
	}
}
